package scheduled_task

import (
	"gin-init/internal/repository"

	"github.com/google/wire"
)

var ScheduledTaskSet = wire.NewSet(NewDemoTask, wire.Struct(new(ScheduledTask), "*"))

type ScheduledTask struct {
	DemoTask *DemoTask
}

func NewDemoTask(dao *repository.DaoRepository) *DemoTask {
	return &DemoTask{
		Dao: dao,
	}
}
